#ifndef PLANE_H
#define PLANE_H

#include "Point.h"
#include "Ray.h"

class Plane
{
public:
public:

    Vector normal;
    float d;

    Plane();
    Plane(Vector normal, float d);
    bool intersect(const Ray &ray, float &near, float &far);
};

#endif // PLANE_H
